<template>
  <div>
      <el-button title="默认按钮"  @click="tipsfn"></el-button>
      <el-button title="默认按钮" type="primary" @click="tipsfn"></el-button>
      <el-button title="默认按钮" type="success" @click="tipsfn"></el-button>
      <el-button title="默认按钮" type="warning" @click="tipsfn"></el-button>
  </div>
</template>

<script>
import elButton from './components/elButton.vue'
export default {
  components: {
    elButton
  },
  methods: {
    tipsfn (val) {
      alert(val)
    }
  }
}
</script>

<style>

</style>
